package cn.stylefeng.guns.modular.business.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

public enum StatusFlagEnum {
    /**
     * 正常
     */
    NORMAL(0),
    /**
     * 异常
     */
    ABNORMAL(1);

    @EnumValue
    private Integer code;

    StatusFlagEnum(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
